<%--
  Created by IntelliJ IDEA.
  User: 38489
  Date: 2020/5/22
  Time: 20:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<div class="sidebar-header d-flex align-items-center">
    <div id="avatar" class="avatar">
        <c:if test="${userinfomap.pic == null || userinfomap.pic  == ''}">
            <img id="sideImg" src="${pageContext.request.contextPath}/assets/img/avatar-6.jpg" alt="..."
                 class="img-fluid rounded-circle">
        </c:if>
        <c:if test="${userinfomap.pic != null && userinfomap.pic  != ''}">
            <img id="sideImg" src="${userinfomap.pic}" alt="..."
                 class="img-fluid rounded-circle">
        </c:if>
    </div>
    <div class="title">
        <h1 class="h5">${userinfomap.username}</h1>
        <p>${userinfomap.realName}</p>
    </div>
</div>
